<%@page pageEncoding="UTF-8" contentType="text/html" errorPage="../error/errorpage.jsp"%>
<%@page import="beans.BeanTrans"%>
<jsp:useBean id="mybean" class="beans.BeanTrans" scope="request">
    <jsp:setProperty name="mybean" property="*"/>
</jsp:useBean>
<%
	String txt = request.getParameter("texto");
	String par_idi = request.getParameter("par_idiomas");
	String txt_trans = mybean.traduce(txt, par_idi);
%>  
<div class="tatrans">
	<label for="texto_trad">Resultado</label><br/>
	<textarea id="texto_trad" name="texto_trad" rows="7" cols="38" 
    	readonly="readonly"><%= txt_trans %></textarea>
</div>
